<template>
    <el-dialog
            title="日志信息"
            :visible.sync="dataPost.visible" width="30%">
            <!--width="30%">-->
    <!--style="max-height: 300px;overflow: hidden">-->

        <div >{{dataPost.res}}</div>
    </el-dialog>
</template>
<script>
    export default {
        props: {
            dataPost:{
                type:Object,
                default(){
                    return {visible:false,res:""}
                }
            }
        },
        data() {
            return {
                // dialogVisible: false
            };
        },
        computed: {},
        methods: {},
        created() {
            // this.dialogVisible=dataPost.visible;
        }
    }
</script>
<style scoped>
.el-dialog__body{
    overflow: auto;
    max-height: 400px;
}

</style>